home *** CD-ROM | disk | FTP | other *** search
- property ancestor
- property ShutterButtons
- property Mode
- property Speed
-
- on Birth me, theChannelObject, thePageName, thePageInfo
- set the ancestor of me to Birth( script "Master Page Template", theChannelObject, thePageName, thePageInfo, true, true )
-
- set ShutterButtons to FindButton( me, "ShutterButtons" )
- SetCameraValue( #ShutterSpeed, "250" )
- TurnRadioButtonOn( ShutterButtons, "S" & GetCameraValue( #ShutterSpeed ), false )
-
- set Mode to #Tripod
- set Speed to #Med
-
- set SpeedButtons to FindButton( me, "SpeedButtons" )
- TurnRadioButtonOn( SpeedButtons, string(Speed), false )
-
- set the goblack of me to true
-
- Show me
- return me
- end
-
- on ChangePage me, theElementID, theValue1, theValue2
- ChangePage( the ancestor of me, theElementID, theValue1, theValue2 )
- case theElementID of
- #Speed:
- set speed to theValue1
- Show me
- #Mode:
- set mode to theValue1
- Show me
- end case
- end
-
- on BuildName me
- return char 1 of string(Speed) & char 1 of string(mode) & string( GetCameraValue( #ShutterSpeed ) )
- end
-
- on BuildImageName me
- set theImageName to "S1" & BuildName( me )
- return theImageName
- End
-
- on BuildCritiqueName me
- return BuildName( me )
- end